{extend name="public:_base" /}

{block name="css"}
<link rel="stylesheet" href="__STATIC__/hanbang/css/animate.min.css">
<link rel="stylesheet" href="__STATIC__/hanbang/css/case.css">
{/block}
{block name="main"}
<div class="biaoqian">
    {volist name="reight_nav" id="vo"}
    <a id="{$vo.id}" href="{:url('/index', [$vo['link'] => 'index', 'navid' => $vo['id']])}">{$vo.name}</a>
    {/volist}
</div>

<!-- 第二部分 -->
<div class="deta-bg">


    <div class="deta-title">{$data.title ?? ''}</div>

    <div class="deta-cont">

        <div class="deta-left">
            <img src="__ROOT__/uploads/{$data.image ?'image/md_'.$data.image: 'sm_nopic.jpg'}" />
        </div>

        <div class="deta-right">
            <p>{$data.title ?? ''}</p>
            <p>{$data.parameter|default=''|html_entity_decode ?? ''}</p>
            <!--<p>{$data.miaoshu ?? ''}</p>-->
        </div>

    </div>

    <div class="deta-img">
        {$data.center|default=''|html_entity_decode ?? ''}
    </div>

    <div class="deta-page">
                <span class="deta-page-left">
                    上一个产品: {empty name="$next.pre.id"}没有了{else /}<a href="{:url('product/detailed',['id'=>$next.pre.id,'navid'=>$next.pre.cid])}">{$next.pre.title}</a>{/empty}
                </span>
        <span class="deta-page-right">
                    下一个产品: {empty name="$next.next.id"}没有了{else /}<a href="{:url('product/detailed',['id'=>$next.next.id,'navid'=>$next.next.cid])}">{$next.next.title}</a>{/empty}
                </span>
    </div>

</div>
<!-- #第二部分 -->

<div class="clear"></div>



{/block}
{block name="js"}
<script src="__STATIC__/hanbang/js/jquery.min.js"></script>

<script type="text/javascript">

    $(function () {

        $('#{$Request.param.navid}').addClass("xz");
    });
</script>
{/block}
